<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/base/base.jsp"%>
<%@ include file="/base/database.jsp"%>
	<%
		String instID=request.getParameter("instID");
		
		String sql="delete from sys_instructor where instID=?";
		
		Connection conn=getConn();
		PreparedStatement pstmt=conn.prepareStatement(sql);
		
		int parameterIndex=1;
		pstmt.setString(parameterIndex,instID);
		
		int count=pstmt.executeUpdate();
		
		close(pstmt,conn);
		
		process(request,response,"/page/instructor/instructor_list.jsp");
		
	
	
	%>